import assessCheckApi from './api'
import { axios } from '@/utils/request'
import router from '@/router/index'
import blobType from '@/common/blobType'
var menuType = blobType.menuType
var fywflcodeArr = blobType.fywflcodeArr
var fywflcode = ''
export function ocalityPostAction(data) {
  //console.log('字典传参',data)
  return axios({
    url: assessCheckApi.dict,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfoQueryQyJbxxById(data) {
  return axios({
    url: assessCheckApi.spcyQyInfoQueryQyJbxxById,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfoEditQyxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoEditQyxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeleteQygjryx(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeleteQygjryx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdateQygjryxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdateQygjryxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoQygjryxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoQygjryxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeleteCppcxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeleteCppcxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdateCppcxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdateCppcxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoAddCppcxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoAddCppcxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeletePzjbxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeletePzjbxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdatePzjbxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdatePzjbxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoAddPzjbxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoAddPzjbxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeleteSbqrxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeleteSbqrxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdateSbqrxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdateSbqrxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoAddSbqrxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoAddSbqrxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeleteYlgyssj(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeleteYlgyssj,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdateYlgyssj(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdateYlgyssj,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoAddYlgyssj(data){
  return axios({
    url: assessCheckApi.spcyQyInfoAddYlgyssj,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeleteJcxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeleteJcxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdateJcxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdateJcxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoAddQyJcxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoAddQyJcxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeleteQjyz(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeleteQjyz,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdateQjyz(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdateQjyz,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoAddQjyz(data){
  return axios({
    url: assessCheckApi.spcyQyInfoAddQjyz,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//
export function spcyQyInfoDeleteGyyz(params){
  return axios({
    url: assessCheckApi.spcyQyInfoDeleteGyyz,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoUpdateGyyz(data){
  return axios({
    url: assessCheckApi.spcyQyInfoUpdateGyyz,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoAddGyyz(data){
  return axios({
    url: assessCheckApi.spcyQyInfoAddGyyz,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

//获取人员类型
export function queryYwzdByCode(params){
  return axios({
    url: assessCheckApi.queryYwzdByCode,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}

//设备确认信息目录
export function spcyQyInfoQuerySbqrxxWjml(params){
  return axios({
    url: assessCheckApi.spcyQyInfoQuerySbqrxxWjml,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}
export function spcyQyInfoQueryYlgyssjWjml(params){
  return axios({
    url: assessCheckApi.spcyQyInfoQueryYlgyssjWjml,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}
export function spcyQyInfoQueryJcxxWjml(params){
  return axios({
    url: assessCheckApi.spcyQyInfoQueryJcxxWjml,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}
export function spcyQyInfoQueryQjyzWjml(params){
  return axios({
    url: assessCheckApi.spcyQyInfoQueryQjyzWjml,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}
export function spcyQyInfoQueryGyyzWjml(params){
  return axios({
    url: assessCheckApi.spcyQyInfoQueryGyyzWjml,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}

export function queryCppcxxWjml(params){
  return axios({
    url: assessCheckApi.queryCppcxxWjml,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}





export function deleteBgkz(params){
  return axios({
    url: assessCheckApi.deleteBgkz,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function updateBgkz(data){
  return axios({
    url: assessCheckApi.updateBgkz,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function addBgkz(data){
  return axios({
    url: assessCheckApi.addBgkz,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function queryBgkzWjml(params){
  return axios({
    url: assessCheckApi.queryBgkzWjml,
    method:'get' ,
    params:{...params},
    url_1:'outside'
  })
}





//上传
export const spcyQyInfoUploadMoreTypeFile = function (data) {
  return axios({
    url: assessCheckApi.spcyQyInfoUploadMoreTypeFile,
    method: "POST",
    data,
    url_1:'outside',
    responseType: 'arraybuffer'
  });
};

//获取当前文件后缀名
export function getFileTypeServe(params){
  return axios({
    url: assessCheckApi.getFileType,
    method:'get' ,
    params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
    url_1:'outside'
  })
}

//删除文件
export function deleteFileById(params){
  return axios({
    url: assessCheckApi.deleteFileById,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

//下载文件
export function getCrossLocalFile(params){
  return axios({
    url: assessCheckApi.getCrossLocalFile,
    method:'get' ,
    params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
    url_1:'outside',
    responseType: 'arraybuffer'
  })
}

export function spcyQyInfoaddZjxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddZjxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteZjxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteZjxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoupdateZjxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateZjxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoqueryQyZjFileList(params){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryQyZjFileList,
    method:'get' ,
    params:params,
    url_1:'outside',
  })
}
export function spcyQyInfouploadQyZjFile(data){
  return axios({
    url: assessCheckApi.spcyQyInfouploadQyZjFile,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoaddWlml(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddWlml,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteWlml(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteWlml,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoupdateWlml(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateWlml,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoaddWlkc(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddWlkc,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteWlkc(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteWlkc,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoupdateWlkc(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateWlkc,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfoqueryWlkcWjml(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryWlkcWjml,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfoqueryGyssjByWlIdList(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryGyssjByWlIdList,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfoqueryAllWlmlList(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryAllWlmlList,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfoviewKc(data){
  return axios({
    url: assessCheckApi.spcyQyInfoviewKc,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfoqueryWlgyssjBySjIdList(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryWlgyssjBySjIdList,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfoaddWlgyssjGx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddWlgyssjGx,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteWlgyssjGx(data){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteWlgyssjGx,
    method:'DELETE' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfoquerySccjPageList(data){
  return axios({
    url: assessCheckApi.spcyQyInfoquerySccjPageList,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfoupdateSccj(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateSccj,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoaddSccj(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddSccj,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteSccj(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteSccj,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

export function spcyQyInfoaddSccjHjjl(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddSccjHjjl,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteSccjHjjl(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteSccjHjjl,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}


export function spcyQyInfoupdateScjl(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateScjl,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoaddScjl(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddScjl,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteScjl(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteScjl,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

export function spcyQyInfoaddScjlWl(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddScjlWl,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfodeleteScjlwl(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteScjlwl,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

export function spcyQyInfomodifyScjlWl(data){
  return axios({
    url: assessCheckApi.spcyQyInfomodifyScjlWl,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfoupdateScjlSycj(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateScjlSycj,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoaddScjlSycj(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddScjlSycj,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteScjlSycj(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteScjlSycj,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

export function spcyQyInfoupdateJyxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateJyxx,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteJyxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteJyxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}
export function spcyQyInfoaddJyxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddJyxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoqueryQyJyxxFileList(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryQyJyxxFileList,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfouploadQyJyxxFile(data){
  return axios({
    url: assessCheckApi.spcyQyInfouploadQyJyxxFile,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoaddJyxm(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddJyxm,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoupdateJyxm(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateJyxm,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteJyxm(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteJyxm,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

export function spcyQyInfoaddGjzb(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddGjzb,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}

export function spcyQyInfoupdateGjzb(data){
  return axios({
    url: assessCheckApi.spcyQyInfoupdateGjzb,
    method:'put' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteGjzb(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteGjzb,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

export function spcyQyInfoqueryGjryWjml(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryGjryWjml,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfoqueryQyRyBgjlPageList(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryQyRyBgjlPageList,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}

export function spcyQyInfoaddRygwbgjl(data){
  return axios({
    url: assessCheckApi.spcyQyInfoaddRygwbgjl,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}


export function spcyQyInfoqueryQyInfoAllFj(data){
  return axios({
    url: assessCheckApi.spcyQyInfoqueryQyInfoAllFj,
    method:'get' ,
    params:data,
    url_1:'outside'
  })
}
export function spcyQyInfosaveQyWtxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfosaveQyWtxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteQyWtxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteQyWtxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

export function spcyQyInfosaveQySbxx(data){
  return axios({
    url: assessCheckApi.spcyQyInfosaveQySbxx,
    method:'post' ,
    data:data,
    url_1:'outside'
  })
}
export function spcyQyInfodeleteQySbxx(params){
  return axios({
    url: assessCheckApi.spcyQyInfodeleteQySbxx,
    method:'delete' ,
    params:params,
    url_1:'outside'
  })
}

























